{% load static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>{% block title %}{% endblock %}</title>

        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

        {% block head_additional %}{% endblock %}

        <link rel="search" type="application/opensearchdescription+xml"
              href="{{ MEDIA_URL }}opensearch.xml" title="SymPy Gamma" />
        <link rel="stylesheet" href="{{ MEDIA_URL }}css/style.css" type="text/css" />
        <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" />

        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"
                type="text/javascript"></script>
        <script src="https://d3js.org/d3.v3.min.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}js/base.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}js/card.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}js/plot.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}js/factordiagram.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}js/doc.js" type="text/javascript"></script>
        <script src="{{ MEDIA_URL }}js/gamma.js" type="text/javascript"></script>
        <script type="text/x-mathjax-config">
            MathJax.Hub.Config({
                jax: ["input/TeX", "output/HTML-CSS"],
                TeX: {
                    extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]
                },
                "HTML-CSS": {
                    minScaleAdjust: 100
                },
                menuSettings: {
                    context: "MathJax",
                    zoom: "Hover",
                    ALT: true
                },
                MathZoom: {
                    delay: 100
                },
                extensions: ["tex2jax.js"]
            });
        </script>
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_CHTML-full"></script>
        <!-- Global site tag (gtag.js) - Google Analytics -->
        <script async src="https://www.googletagmanager.com/gtag/js?id=UA-163910085-1"></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());

            gtag('config', 'UA-163910085-1');
        </script>
    </head>
    <body>
        <div class="menu">
            <a class="{{ main_active }}" href="/">Main</a>
            <a class="{{ about_active }}" href="/about/">About</a>
            <a href="https://live.sympy.org">SymPy Live</a>
        </div>
        <div class="gbh" style="left: 0px; opacity: 1; "></div>
    {% block content %}
    {% endblock %}
    <div id="footer">
        <p>
        SymPy Gamma version {{ app_version }}.
        SymPy version {{ sympy_version }}
        </p>

        <p>
        &copy; 2013-{{ current_year }} SymPy Development Team. This project is
        Open Source: <a href="https://github.com/sympy/sympy_gamma/">
            SymPy Gamma on Github</a>.
        </p>
    </div>
    </body>
</html>
